package com.sand.feign;

import com.sand.entity.buy.scheme;
import com.sand.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("juao-owner")
public interface OwnerFeign {

    @PostMapping("/scheme/getid")
    public ResponseResult<scheme> getid(@RequestBody Integer id);

}
